package com.tronsis.distribution.activity.me.complaints;

import android.content.Intent;
import android.os.Bundle;
import android.widget.LinearLayout;

import com.tronsis.distribution.R;
import com.tronsis.library.activity.ToolBarBaseActivity;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;

/**
 * 投诉
 */
public class ComplaintsActivity extends ToolBarBaseActivity {

    @BindView(R.id.ll_complaints)
    LinearLayout mLlComplaints;
    @BindView(R.id.ll_complaints_history)
    LinearLayout mLlComplaintsHistory;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_complaints);
        ButterKnife.bind(this);
        setTitle(true, getString(R.string.complaints));
    }

    @OnClick(R.id.ll_complaints)
    void complaintsClick() {
        Intent intent = new Intent(mContext, ComplainingActivity.class);
        startActivity(intent);
    }

    @OnClick(R.id.ll_complaints_history)
    void complaintsHistoryClick() {
        Intent intent = new Intent(mContext, ComplaintsHistoryActivity.class);
        startActivity(intent);
    }
}
